//
// C++ Interface: diagramline
//
// Description: 
//
//
// Author: Pilitsyn Vasiliy <nexus@ablogic.ru>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//

#ifndef __DIAGRAMLINE_H
#define __DIAGRAMLINE_H



// static const int lineRtti = 1002 ;
class DiagramLine : public QCanvasLine
{
   public:

      DiagramLine(int x, int y, int w, int h,QCanvas *canvas);
      ~DiagramLine();
    
      void       drawShape(QPainter& p);
      QPoint offset() const { return QPoint((int)x(), (int)y()); }
      void       scale();
      void       setSelectMove(const bool);
      void       setViewSettings(const QString &);
            
      const    bool& s() const { return selectMove; }
      int rtti() const { return 1002; }
      
   private:
      bool  selectMove;
      
};

#endif
